﻿#ifndef SAVEPATHDIALOG_H
#define SAVEPATHDIALOG_H

#include <QDialog>
#include "clearpathDB.h"

namespace Ui {
class SavePathDialog;
}

class SavePathDialog : public QDialog
{
    Q_OBJECT

public:
    explicit SavePathDialog(int saveType,ClearPath *clearPath=nullptr,QWidget *parent = nullptr);
    ~SavePathDialog();

private slots:
    void on_saveBtn_clicked();

    void on_cancelBtn_clicked();
    void on_selBtn_clicked();

signals:
    void signal_saveClearPath(int,ClearPath);

private:
    Ui::SavePathDialog *ui;
    int saveType;
    int upId;
};

#endif // SAVEPATHDIALOG_H
